package com.yami.shop.security.api.util;

public enum WeChatUrl {
    GET_ACCESS_TOKEN("https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={0}&secret={1}"),
    GET_PHONE_NUMBER("https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token={0}")
            ;

    private String url;

    WeChatUrl() {
    }

    WeChatUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public WeChatUrl setUrl(String url) {
        this.url = url;
        return this;
    }
}
